<div class="container" ng-controller="MetaRemindCtrl">
    <h1>MetaRemind 服务</h1>

    <div>
        <a ui-sref="^">回退</a>
    </div>

    <pre>
        angular.module('metalabPartnerApp').controller('ExampleCtrl', ['MetaReminder', '$scope', function(reminder, $scope) {
            $scope.reminder = reminder;
        }])
    </pre>
    <code>
        ng-click=remind.info(title, body);<br/>
        ng-click=remind.success(title, body);<br/>
        ng-click=remind.warn(title, body);<br/>
        ng-click=remind.error(title, body);<br/>
        ng-click=remind.clear([,id]);<br/>
    </code>


    <div>
        <button class="btn btn-default" ng-click="remind.info('info', '内容')">info</button>
    </div>
    <div>
        <button class="btn btn-success" ng-click="remind.success('success', '内容')">success</button>
    </div>
    <div>
        <button class="btn btn-warning" ng-click="remind.warn('warn', '内容')">warn</button>
    </div>
    <div>
        <button class="btn btn-danger" ng-click="remind.error('error', '内容')">error</button>
    </div>
    <div>
        <button class="btn bg-primary" ng-click="remind.clear()">clear</button>
    </div>
</div>
